<#setting classic_compatible=true> 
<#assign base=request.contextPath /> <!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>统一消息中心</title>
<link rel="icon" href="${base}/zhgl-jzstyxx-manage/images/favicon.ico" type="image/ico" />
<link rel="stylesheet" type="text/css" href="${base}/zhgl-jzstyxx-manage/css/bootstrap-table.min.css">
<!-- 引入通用css -->
<#include "/common/commoncss.ftl">
<link rel="stylesheet" type="text/css" href="${base}/zhgl-jzstyxx-manage/css/warning/warningIndicators.css">
<link rel="stylesheet" type="text/css" href="${base}/zhgl-jzstyxx-manage/css/model.css">
</head>

<body class="nav-md">

<!--弹出模态框-->


<!-- 新增/修改框 -->
<div class="modal fade in" id="addOrEditModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop='static' padding-right: 17px;">
    <div class="modal-dialog" style="width:800px;margin-top: 40px;margin-bottom: 40px" role="document">

	    <div class="modal-content">
	      <!-- 标题 -->
	      <div class="modal-header">
	        <button class="close" type='button' data-dismiss='modal' aria-hidden='true'>&times;</button>
	        <h4 class="modal-title" id="myModalLabel"></h4>
	      </div>
	      
	      <!-- 内容 -->
	      <div class="modal-body">
              <form  id="addOrEdit" class="form-horizontal">
                  <input type="hidden" name="id" id="cId"/>
                  <div class="form-group">
                      <label for="indicators" class="col-sm-2 control-label mylabel">预警指标</label>
                      <div class="col-sm-4 col-sm-me">
                          <input type="text" class="form-control" name="indicators1" id="indicators1" placeholder="请输入预警指标名称">
                      </div>
                  </div>
              </form>
	      </div>
	      
	      <!-- 尾部 -->
	      <div class="modal-footer">
	      	<div class="footer-button">
	      		<button  id="submit" class="btn btn-primary save" onclick="saveAddOrEdit()">提交</button>
	        	<button  id="exit" class="btn btn-primary back"  data-dismiss='modal'>关闭</button>   
	        </div>  
	      </div>
	      
	    </div>
	</div>
</div>


			<div style="margin: 10px 6px">
				<p style="margin-bottom: 0px"><i class="fa fa-warning"style="margin-right: 20px"></i>监控预警&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;预警指标</p>
			</div>
				<div class="container body-content">
					<div class="panel panel-default" style="margin-bottom: 10px">
						<div class="panel-body" >
							<form class="form-inline">
								<div class="row" style="margin: auto">
									<div class="col-sm-4" style="margin-top: 5px;width:100%;">
										<label for='name' class='control-lable'>预警指标</label>
										<input id="indicators" type="text" class="form-control inputbox" placeholder="请输入预警指标">
										<button id="btn_query" type="button" class="btn btn-default">
							 				<span class="fa fa-search" aria-hidden="true"></span>&nbsp;查询
										</button>
									</div>
								</div>
							</form>
							
					<div id="toolbar" class="btn-group">
						<button id="btn_add" type="button" class="btn btn-default" onclick="Add()" style="background-color: #3B9ED9">
							 <span class="iconfont icon-add" aria-hidden="true"></span>&nbsp;新增
						</button>
						<button id="btn_edit" type="button" class="btn btn-default" onclick="editById()" style="background-color: #7ABD3E">
							 <span class="iconfont icon-edit-1-copy" aria-hidden="true"></span>&nbsp;修改
						</button>
						<button id="btn_delete" type="button" class="btn btn-default" onclick="deleteByIds()" style="background-color: #FFA45A">
							 <span class="iconfont icon-shanchu" aria-hidden="true"></span>&nbsp;删除
						</button>					
					</div>
							<table id="tb_indicators"></table>
					</div>
					
				</div>
			
			</div>

	<!-- 引入通用和js -->
	<#include "/common/commonjs.ftl"> 
<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/jquery.serializejson.min.js"></script>
<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/warning/warningIndicators.js"></script> 
<!--<script src="${base}/zhgl-jzstyxx-manage/js/cookie/jquery.cookie.js"></script>-->
<script type="text/javascript">
</script>
</body>
</html>